package com.yt.order.api.interfaces;

import com.yt.core.service.GenericService;
import com.yt.order.api.model.Institution;

import java.util.List;

public interface InstitutionService extends GenericService<Institution, Long> {
	boolean checkInstitutionName(String name, Long id);

	boolean checkInstitutionCode(String code, Long id);

	List<Institution> getIdAndName(boolean includeBranch);

	List<Institution> getInstitutionByName(String name);

	List<Institution> getInstitutionByIds(String ids);

	List<Institution> getBaseInfoByName(String name);

}